package com.example.demo.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "nacos",url = "127.0.0.1:8090")
public interface FeignClientServer {
    @RequestMapping("/user")
    String user();

    @RequestMapping("/get")
    String get();
}
